import http from './http'

export function login(data) {
  // 明确使用后端完整路径，避免环境与代理干扰
  return http.post('/api/auth/login', data)
}

export function getCurrentUserId() {
  return http.get('/api/auth/getID')
}


